package shared;

public class Pair<TYPEA, TYPEB> implements Comparable< Pair<TYPEA, TYPEB> > {
	  protected TYPEA Key_;
	  protected TYPEB Value_;

	  public Pair(TYPEA key, TYPEB value) 
	  {
	    Key_   = key;
	    Value_ = value;
	  }
	  
	  public TYPEA getKey() 
	  {
	    return Key_;
	  }
	  
	  public TYPEB getValue() 
	  {
	    return Value_;
	  }
	  
	  public void setKey(TYPEA key)
	  {
		  this.Key_ = key;
	  }
	  
	  public void setValue(TYPEB value)
	  {
		  this.Value_ = value;
	  }
	  
	@Override // not working, unnecessary
	public int compareTo(Pair<TYPEA, TYPEB> arg0)
	{
		return 0;
	}
}